#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import (absolute_import, division, print_function,
    unicode_literals)

# from distutils.core import setup
# http://peak.telecommunity.com/DevCenter/setuptools#developer-s-guide
from setuptools import setup, find_packages

requires = [
    ('bag', 'provides various utility methods and classes'),
    ('cherrypy < 3.2.0',  # >= 3.1.2',
     'vastly superior to the version used in TurboGears 1.0'),
    ('Genshi', 'a great XML templating language'),
    ('ipython', 'a smarter interpreter for administration'),
    ('Paste >= 1.7.2', 'evalexception shows rich, interactive stack traces'),
    ('Routes < 1.12', 'versatile URL dispatching'),
    ('SQLAlchemy >= 0.5.7', 'flexible ORM for your database needs'),
    ('TurboMail >= 3.0.3', 'assembles and sends out e-mails'),
    ('Unipath', 'object-oriented file and directory manipulation'),
    ('Markdown >= 2.0.3', 'nice text-to-HTML syntax'),
    ('BeautifulSoup', 'parses and modifies HTML'),  # == 3.0.8
    ('pexpect', 'talks to unix commands'),
]

setup(
    url='http://code.google.com/p/webpyte/',
    name="webpyte",
    author='Nando Florestan',
    version='0.0.4dev',
    license='BSD',
    packages=find_packages(),
    zip_safe=False,
    author_email="nandoflorestan@gmail.com",
    download_url='http://code.google.com/p/webpyte/downloads/list',
    description='Lightweight megaframework for web development',
    install_requires=[d[0] for d in requires],
    # include_package_data=True, # includes files under version control
    package_data={
        b'': ['*.txt'],
    },
    keywords=['web', 'python', 'sqlalchemy', 'cherrypy', 'routes'],
    classifiers=[  # http://pypi.python.org/pypi?:action=list_classifiers
        "Development Status :: 5 - Production/Stable",
        'Environment :: Console',
        'Environment :: Web Environment',
        "Intended Audience :: Developers",
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: BSD License',
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        ],
    long_description='A deprecated web framework similar to TurboGears.' \
        ' The author now uses Pyramid happily.',
)
